<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: UWillno
  Date: 2021/11/15
  Time: 22:09
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>主页</title>
</head>
<body>
<form action="<c:url value="/login"/>" method="post" >
    <label>用户名：<input name="uno"></label> <br/>
    <label>密&nbsp;&nbsp;&nbsp;码：<input type="password" name="pwd"></label><br/>
    <label><input name="user" type="radio" value="admin"/>管理员 </label>
    <label><input name="user" type="radio" value="teacher"/>教师 </label>
    <label><input name="user" type="radio" value="student"  checked/>学生 </label><br/>
    <input type="submit" value="登录">
</form>
<span style="color: red; ">${msg}</span>
</body>
</html>
